<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./vue.js"></script>
</head>
<body>
<div id="root">
    <!-- 双向绑定建议   -->
    <input v-model:value="str" type="text"/>
    <input v-model="str" type="text"/>
    <div>{{str}}</div>
</div>
</body>
<script>
    new Vue({
        el: "#root",
        data:{
            str:"明年开春，春暖花开的时候就该找工作了"
        }
    })
</script>
</html>